This script generates a report on all the users in the Users & Groups Data File on your system. It requires the Users and Groups scripting addition. It stores the results in an untitled Scriptable Text Editor window. From there you can cut and paste into a spreadsheet.